package com.cskaoyan.service;

import com.cskaoyan.bean.MarketAd;
import com.cskaoyan.bean.common.BaseRespVo;
import com.fasterxml.jackson.databind.JsonNode;

public interface AdminAdService {
    BaseRespVo list(Integer page, Integer limit, String name, String content, String sort, String order);

    BaseRespVo create(String content, String enabled, String name, Integer position, String url);

    BaseRespVo update(JsonNode jsonNode);

    BaseRespVo delete(MarketAd marketAd);

    void add(MarketAd marketAd);
}
